<div class="planning_grafico well">
    <table class="table table-striped table-bordered table-condensed">
        <thead>
            <tr>
                <th></th>
                {% for day in days %}
                <th class="header">{{ day }}</th>
                {% endfor %}
            </tr>
        </thead>
        <tbody>
            {% for ti in time_intervals %}
            <tr class="{% cycle 'odd' 'even' as typerow %}">
                <td class="hour">
                    {% ifequal typerow 'odd' %}
                    {{ ti }}
                    {% endifequal %}
                </td>
                {% for day in days %}
                <td class="cell day_{{ day }} ti_{{ ti }}"></div>
                {% endfor %}
            </tr>
            {% endfor %}
        </tbody>
    </table>
</div>
